<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib uri="http://java.sun.com/jstl/fmt" prefix="fmt" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path;
%>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>
        ${title}
    </title>
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
    <link rel="stylesheet" href="<%=basePath%>/bootstrap/css/bootstrap.min.css">
    <link rel="stylesheet" href="<%=basePath%>/css/font-awesome.min.css">
    <link rel="stylesheet" href="<%=basePath%>/css/ionicons.min.css">
    <link rel="stylesheet" href="<%=basePath%>/dist/css/AdminLTE.min.css">
    <link rel="stylesheet" href="<%=basePath%>/toastr/toastr.css" type="text/css"/>
    <link rel="stylesheet" href="<%=basePath%>/dist/css/skins/_all-skins.min.css">
    <link rel="stylesheet" href="<%=basePath%>/fileupload/fileinput.min.css"/>
    <link rel="stylesheet" href="<%=basePath%>/bootstrap-datetimepicker/css/bootstrap-datetimepicker.css">
    <link rel="stylesheet" href="<%=basePath%>/bootstrap-datetimepicker/css/bootstrap-datetimepicker.min.css">
    <link rel="stylesheet" href="<%=basePath%>/plugins/iCheck/all.css">
    <link rel="stylesheet" href="<%=basePath%>/pagination/style/pagination.css" media="screen">
    <link rel="stylesheet" href="<%=basePath%>/plugins/iziModal/css/iziModal.min.css">
    <link rel="stylesheet" href="<%=basePath%>/plugins/select2/select2.min.css">
    <link rel="stylesheet" href="<%=basePath%>/plugins/iCheck/all.css">
    <link rel="stylesheet" href="<%=basePath%>/plugins/loaders/loaders.css"/>
    <link rel="stylesheet" href="<%=basePath%>/plugins/flavr/animate.css"/>
    <link rel="stylesheet" href="<%=basePath%>/plugins/flavr/flavr.css"/>
    <link rel="stylesheet" href="<%=basePath%>/plugins/bootstrap-treeview/css/bootstrap-treeview.css">

    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
    <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
    <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->
    <style>
        li{
            list-style: none;
        }
    </style>
</head>
<!-- ADD THE CLASS sidedar-collapse TO HIDE THE SIDEBAR PRIOR TO LOADING THE SITE -->
<body class="hold-transition skin-blue sidebar-mini">
<div id="request-div" style="position: absolute;width: 100%;height: 100%;z-index: 10;display: none;">
    <img src='../images/request-sending.gif' style="position: relative;top: 50%;left: 50%;width: 70px;height: 70px">
</div>
<!-- Site wrapper -->
<div class="wrapper">
    <header class="main-header">
        <!-- Logo -->
        <jsp:include page="../logo.jsp" ></jsp:include >
        <!-- Header Navbar: style can be found in header.less -->
        <nav class="navbar navbar-fixed-top">
            <!-- Sidebar toggle button-->
            <a class="sidebar-toggle" data-toggle="offcanvas" role="button" onclick="show()">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </a>
            <jsp:include page="../menuTop.jsp"></jsp:include>
        </nav>
    </header>

    <!-- =============================================== -->

    <!-- Left side column. contains the sidebar -->
    <aside class="main-sidebar">
        <jsp:include page="../menu.jsp"></jsp:include>
        <!-- /.sidebar -->
    </aside>

    <!-- Content Wrapper. Contains page content -->
    <div class="content-wrapper" style="padding-top:50px;">
        <section class="content-header">
            <ol class="breadcrumb">
                <li class="text-muted"><i class="fa fa-th"></i>&nbsp;&nbsp;服务管理</li>
                <li class="text-muted"><i class="fa fa-circle-o"></i>&nbsp;&nbsp;培训详情</li>
            </ol>
        </section>
        <section class="content">
            <div class="row">
                <div class="col-md-12">
                    <div class="nav-tabs-custom">
                        <ul class="nav nav-tabs">
                            <li class="active"><a href="#contractInfo" data-toggle="tab">培训信息</a></li>
                            <li><a href="#info" data-toggle="tab">人员信息</a></li>
                            <li><a href="#file" data-toggle="tab">文件档案</a></li>
                        </ul>
                        <div class="tab-content">
                            <div class="tab-pane active" id="contractInfo">
                                <table class="table table-striped table-bordered">
                                    <tr>
                                        <td colspan="6" class="text-left col-md-12 info"><label>&nbsp;&nbsp;培训信息</label></td>
                                    </tr>
                                    <tr>
                                        <td class="text-right"><label class="text-muted">培训标题</label></td>
                                        <td class="text-left">针对新年放假事宜</td>
                                        <td class="text-right"><label class="text-muted">培训概况（备注）</label></td>
                                        <td class="text-left">新年放假人员值班，安全注意事项</td>
                                        <td class="text-right"><label class="text-muted">培训类型</label></td>
                                        <td class="text-left">开放式现场培训</td>
                                    </tr>
                                    <tr>
                                        <td class="text-right" ><label class="text-muted">培训人</label></td>
                                        <td class="text-left" >张三</td>
                                        <td class="text-right"><label class="text-muted">培训开始时间</label></td>
                                        <td class="text-left">2018-02-10 13:00:00</td>
                                        <td class="text-right"><label class="text-muted">培训结束时间</label></td>
                                        <td class="text-left">2018-02-10 15:00:00</td>
                                    </tr>
                                    <tr>
                                        <td class="text-right" ><label class="text-muted">培训地址</label></td>
                                        <td class="text-left" >上海市宝山区仁和医院</td>
                                        <td class="text-right"><label class="text-muted">是否付费</label></td>
                                        <td class="text-left">否</td>
                                        <td class="text-right"><label class="text-muted">培训状态</label></td>
                                        <td class="text-left">已发布</td>
                                    </tr>
                                    <tr>
                                        <td class="text-right" ><label class="text-muted">开启签到</label></td>
                                        <td class="text-left" >开启</td>
                                        <td class="text-right" ></td>
                                        <td class="text-left"></td>
                                        <td class="text-right"></td>
                                        <td class="text-left"></td>
                                    </tr>
                                </table>
                                <table class="table table-striped table-bordered">
                                    <tr>
                                        <td colspan="12" class="text-left col-md-12 info"><label>&nbsp;&nbsp;医院列表</label></td>
                                    </tr>
                                    <tbody>
                                    <tr>
                                        <th class="text-center text-muted" style="width: 30px">#</th>
                                        <th class="text-center text-muted">医院名称</th>
                                        <th class="text-center text-muted">是否参加培训</th>
                                        <th class="text-center text-muted">参加培训时间</th>
                                        <th class="text-center text-muted">确认人</th>
                                        <th class="text-center text-muted">备注</th>
                                    </tr>
                                    </tbody>
                                    <tfoot id="device_table">
                                    <tr>
                                        <td class="text-center text-muted" style="width: 30px">1</td>
                                        <td class="text-center text-muted">安庆市中医院</td>
                                        <td class="text-center text-muted">是</td>
                                        <td class="text-center text-muted">2018-02-10 13:00:00</td>
                                        <td class="text-center text-muted">李四</td>
                                        <td class="text-center text-muted">确认要参加</td>
                                    </tr>
                                    <tr>
                                        <td class="text-center text-muted" style="width: 30px">2</td>
                                        <td class="text-center text-muted">枞阳县人民医院</td>
                                        <td class="text-center text-muted">是</td>
                                        <td class="text-center text-muted">2018-02-10 13:00:00</td>
                                        <td class="text-center text-muted">王五</td>
                                        <td class="text-center text-muted">确认要参加，也许晚点</td>
                                    </tr>
                                    </tfoot>
                                </table>
                            </div>


                            <div class="tab-pane table-responsive" id="info"
                                 style="min-height: 500px">
                                <div class="box-body table-responsive no-padding">
                                    <table class="table table-condensed table-striped table-bordered">
                                        <tr class="info">
                                            <th class="text-muted text-center" style="width: 30px">#</th>
                                            <th class="text-muted text-center">医院名称</th>
                                            <th class="text-muted text-center">参加人</th>
                                            <th class="text-muted text-center">参加人类型</th>
                                            <th class="text-muted text-center">是否签到</th>
                                            <th class="text-muted text-center">签到时间</th>
                                        </tr>
                                        <tr>
                                            <td class="text-center text-muted">1</td>
                                            <td class="text-center text-muted">安庆市中医院</td>
                                            <td class="text-center text-muted">张三</td>
                                            <td class="text-center text-muted">医生</td>
                                            <td class="text-center text-muted">是</td>
                                            <td class="text-center text-muted">2018-02-10 13:10:00</td>
                                        </tr>
                                        <tr>
                                            <td class="text-center text-muted">2</td>
                                            <td class="text-center text-muted">安庆市中医院</td>
                                            <td class="text-center text-muted">李四</td>
                                            <td class="text-center text-muted">维修商</td>
                                            <td class="text-center text-muted">是</td>
                                            <td class="text-center text-muted">2018-02-10 13:10:00</td>
                                        </tr>
                                        <tr>
                                            <td class="text-center text-muted">3</td>
                                            <td class="text-center text-muted">枞阳县人民医院</td>
                                            <td class="text-center text-muted">王五</td>
                                            <td class="text-center text-muted">维修商</td>
                                            <td class="text-center text-muted">是</td>
                                            <td class="text-center text-muted">2018-02-10 13:30:00</td>
                                        </tr>
                                    </table>
                                </div>
                            </div>

                            <!-- 文件管理 -->
                            <div class="tab-pane table-responsive" id="file"
                                 style="min-height: 600px">
                                <div class="box-body table-responsive no-padding">
                                    <table class="table table-bordered ">
                                        <tbody>
                                        <tr class="info">
                                            <th class="text-center text-muted" style="width: 35px">#</th>
                                            <th class="text-center text-muted">文件类型</th>
                                            <th class="text-center text-muted">文件名</th>
                                            <th class="text-center text-muted">签发日期</th>
                                            <th class="text-center text-muted">到期日期</th>
                                            <th class="text-center text-muted">文件大小</th>
                                            <th class="text-center text-muted">备注</th>
                                            <th class="text-center text-muted">文件下载</th>
                                        </tr>
                                        <tr>
                                            <td class='text-center text-muted' colspan="9">暂无数据</td>
                                        </tr>
                                        </tbody>
                                    </table>
                                </div>
                            </div>



                        </div>
                    </div>
                    <!-- /.tab-content -->
                </div>
            </div>
            <!-- /.col -->
    </section>
    </div>

    <footer class="main-footer">
        <div class="pull-right hidden-xs">
            <b>Version</b> 1.0.0
        </div>
        <strong>Copyright &copy; 2019 <a href="http://almsaeedstudio.com">Topmed</a>.</strong> All rights reserved.
    </footer>
    <jsp:include page="../menuRight.jsp"></jsp:include>
<!-- ./wrapper -->

<!-- ./wrapper -->
<script src="<%=basePath%>/plugins/jQuery/jquery-2.2.3.min.js"></script>
<script src="<%=basePath%>/bootstrap/js/bootstrap.min.js"></script>
<script src="<%=basePath%>/plugins/slimScroll/jquery.slimscroll.min.js"></script>
<script src="<%=basePath%>/plugins/fastclick/fastclick.js"></script>
<script src="<%=basePath%>/dist/js/app.min.js"></script>
<script src="<%=basePath%>/dist/js/demo.js"></script>
<script src="<%=basePath%>/bootstrapvalidator/js/bootstrapValidator.min.js"></script>
<script src="<%=basePath%>/toastr/toastr.js"></script>
<script src="<%=basePath%>/pagination/js/jquery.pagination.min.js"></script>
<script src="<%=basePath%>/js/overallSituation.js"></script>
<script src="<%=basePath%>/fileupload/fileinput.min.js"></script>
<script src="<%=basePath%>/bootstrap-datetimepicker/js/bootstrap-datetimepicker.min.js"></script>
<script src="<%=basePath%>/bootstrap-datetimepicker/js/locales/bootstrap-datetimepicker.zh-CN.js"></script>
<script src="<%=basePath%>/plugins/select2/select2.min.js"></script>
<script src="<%=basePath%>/plugins/select2/i18n/zh-CN.js"></script>
<script src="<%=basePath%>/plugins/iCheck/icheck.min.js"></script>
<script src="<%=basePath%>/plugins/iziModal/js/iziModal.min.js"></script>
<script src="<%=basePath%>/plugins/flavr/flavr.min.js"></script>
<script src="<%=basePath%>/plugins/bootstrap-treeview/js/bootstrap-treeview.js"></script>

<script type="text/javascript">
    $(document).ready(function (){
        menuCss("培训");
        $("#queryForm").find("[name='hospitalId']").val(null);
        $("#queryForm").find("[name='hospitalId']").select2({
            language: 'zh-CN',
            placeholder: '医院',
            allowClear: true});
        $("#queryForm").find("[name='manufacturerId']").val(null);
        $("#queryForm").find("[name='manufacturerId']").select2({
            language: 'zh-CN',
            placeholder: '厂商',
            allowClear: true});
    });



</script>
</body>
</html>
